﻿using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using fmtx.Framework.Model;

namespace OnlineDown
{
    public class CurrUserM:BaseBean
    {
        #region "属性"
        /// <summary>
        /// Token
        /// </summary>
        [BsonId]
        public string Token
        {
            get;
            set;
        }
        /// <summary>
        /// 登录人ID
        /// </summary>
        public string UserID
        {
            get;
            set;
        }
        /// <summary>
        /// 登录人账号
        /// </summary>
        public string UserName
        {
            get;
            set;
        }
        /// <summary>
        /// 登录人密码(加密后)
        /// </summary>
        public string PassWord
        {
            get;
            set;
        }
        /// <summary>
        /// 登录人姓名
        /// </summary>
        public string TrueName
        {
            get;
            set;
        }
        /// <summary>
        /// 组织ID
        /// </summary>
        public string OrganizationID
        {
            get;
            set;
        }
        /// <summary>
        /// 组织ID
        /// </summary>
        public string Email
        {
            get;
            set;
        }
        /// <summary>
        /// 角色类别
        /// </summary>
        public List<int> RoleType
        {
            get;
            set;
        }
        /// <summary>
        /// 插入时间
        /// </summary>
        public DateTime AddTime
        {
            get;
            set;
        }
        /// <summary>
        /// 过期时间
        /// </summary>
        public int TimeOut
        {
            get;
            set;
        }
        #endregion
    }
}
